﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AuthorityMenuList.aspx.cs" Inherits="OpSystem.Manage.authority.AuthorityMenuList" %>

<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <!-- #include file="~/include/header.html" -->
</head>
<body>
    <form id="form1" runat="server">
        <section class="content-header">
            <h1>菜单管理
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i>主页</a></li>
                <li class="active">菜单管理</li>
            </ol>
        </section>
        <section class="content">
            <div class="row">
                <div class="col-md-12">
                    <div class="box box-primary">
                        <div class="box-header">
                            <ul class="list-inline">
                                <li><i class="fa fa-search"></i>
                                </li>
                                <li>
                                <asp:DropDownList ID="ddlSystem" CssClass="form-control" Width="200px" runat="server">
                                </asp:DropDownList>
                                </li>
                                <li>
                                    <asp:Button ID="Button1" runat="server" Text="查找" CssClass="btnadd btn btn-success btn-sm" OnClick="Button1_Click" />
                                    </li>
                                <li><button class="btnadd btn btn-success btn-sm" id="addbtn" type="button">添加菜单</button></li>
                                
                                
                            </ul>

                        </div>
                        <div class="box-body table-responsive no-padding">

                            <table class="table table-bordered table-hover" id="tblist">
                                <colgroup>
                                    <col style="width: 300px" />
                                    <col style="width: 270px" />
                                </colgroup>
                                <tbody>
                                    <%=strHtml %>
                                </tbody>
                            </table>
                        </div>
            </div>
            </div>
            </div>
        </section>
    </form>
    <!-- #include file="~/include/footer.html" -->
    <script type="text/javascript">
        $("#addbtn").click(function () {
            var sysid = $("#ddlSystem").val();
            if (sysid == 0)
            {
                BMCW.alert("请选择系统");
                return;
            }
            var url = '<%=GetPageUrl("AuthorityMenuEdit.aspx")%>?sysid=' + sysid;
            BMCW.showTopLayer('添加菜单', url, 550, 400);
        });
    </script>
</body>
</html>
